package com.neuedu.spirng.service;

import com.neuedu.spirng.dao.DeptDao;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
 * @author 金山
 * 项目：spring-learn
 * site: https://blog.fulfill.com.cn
 * 描述
 * @data 2025/3/1110:30
 */

public class DeptService {


    // @Autowired
    private DeptDao deptDao;


    public DeptService(DeptDao deptDao) {
        this.deptDao = deptDao;
    }

    public void test(){
        System.out.println("DeptService.test");
        deptDao.test();
    }
}
